--[[
* 免疫本次技能目标选择(包括普攻)
*]]
---@class BuffEffect82 : BaseBuffEffect
BuffEffect82 = ClientFight.CreateClass("BuffEffect82", ClientFight.BaseBuffEffect)
local t = BuffEffect82
---@param fight Fight
---@param buff FighterBuff

function t:action(fight, buff, ...)
    local parameters = {...};
    if (table.getn(parameters) < 1) then
        return IBuffEffect.FAIL;
    end
    local result = parameters[1];
    result.state = DamageResultTypeEnum.IMMUNITY;
    SkillRoleMgr.savePathFile("[" .. fight.frame .. "][EFFECT]Fighter " .. buff.target.fighterId .. " Buff:"
            .. buff.modelId .. " 免疫本次技能目标选择(包括普攻) ");
    return ClientFight.BaseBuffEffect.action(self, fight, buff, parameters);
end

t.New()